package com.zpp.wedding_admin.service.impl;

import com.zpp.wedding_admin.entity.Activity;
import com.zpp.wedding_admin.mapper.ActivityMapper;
import com.zpp.wedding_admin.mapper.BannerMapper;
import com.zpp.wedding_admin.service.IActivityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 朱盼盼
 * @since 2022-12-29
 */
@Service
public class ActivityServiceImpl extends ServiceImpl<ActivityMapper, Activity> implements IActivityService {
    @Autowired
    private ActivityMapper activityMapper;

    @Override
    public boolean deleteAllSelect(Integer iDs[]) {
        return activityMapper.deleteAllSelect(iDs);
    }

    @Override
    public boolean updateFinish(Integer id) {
        return activityMapper.updateFinish(id);
    }

    @Override
    public boolean activityAdd(Integer id) {
        return activityMapper.activityAdd(id);
    }
}
